//chua cac bien dung chung
package gameEngine.com;

import android.graphics.Canvas;
import android.graphics.Paint;

public interface IConstant {
	// type of message
	public final int MESSAGE_CTOR = 0;
	public int MESSAGE_UPDATE = 1;
	public int MESSAGE_PAINT = 2;
	public int MESSAGE_DTOR = 3;
	// type of KEY PRESS
	public final int KEY_STATE_NONE = 0;	
	public final int KEY_STATE_PRESSED = 1;
	public final int KEY_STATE_HOLD = 2;
	public final int KEY_STATE_RELEASE = 3;
	
	//STATE
	public final int STATE_LOGO = 0;
	public final int STATE_ASKSOUND = 1;
	public final int STATE_SPLASH = 2;	
	public final int STATE_MAINMENU = 3;
	public final int STATE_OPTION = 4;
	public final int STATE_HELP = 5;
	public final int STATE_ABOUT = 6;
	public final int STATE_GAMEPLAY = 7;
	public final int STATE_IGM = 8;	
	public final int STATE_LOADING = 9;
	public final int STATE_COMPLETE_LEVEL = 10;	
	public final int STATE_SELECT_LEVEL = 11;
	public final int STATE_EXIT = 1000;
	//DPAD
	public final int DPAD_ELEMENT_WIDTH = 60;
	public final int[] DPAD_1_POS = {10,280};
	public final int[] DPAD_2_POS = {75,280};
	public final int[] DPAD_3_POS = {142,280};
	public final int[] DPAD_4_POS = {10,340};
	public final int[] DPAD_6_POS = {142,340};
	public final int[] DPAD_7_POS = {10,400};
	public final int[] DPAD_8_POS = {75,400};
	public final int[] DPAD_9_POS = {142,400};
	
	
	//HUD
	public static int HUD_BLOOD_X = 128;
	public static int HUD_BLOOD_Y = 35 + 5;
	public static int HUD_BLOOD_WIDTH = 100;
	public static int HUD_BLOOD_HEIGHT = 8;

	public static int HUD_MANA_X = 128;
	public static int HUD_MANA_Y = 55;
	public static int HUD_MANA_WIDTH = 100;
	public static int HUD_MANA_HEIGHT = 7;

	//debug
	public static boolean DEBUG_MAP = false;
	

	
	

}
